package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Proin {
    private Integer prid;

    private String prtype;

    private Integer prsupplierid;

    private String prname;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date prdate;

    private String prspecification;

    private String prunit;

    private Integer prcount;

    private Double prprice;

    private Double prsumprice;

    private String prusage;

    private String prbatch;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date prexpires;

    private String prinfo;

    public Integer getPrid() {
        return prid;
    }

    public void setPrid(Integer prid) {
        this.prid = prid;
    }

    public String getPrtype() {
        return prtype;
    }

    public void setPrtype(String prtype) {
        this.prtype = prtype == null ? null : prtype.trim();
    }

    public Integer getPrsupplierid() {
        return prsupplierid;
    }

    public void setPrsupplierid(Integer prsupplierid) {
        this.prsupplierid = prsupplierid;
    }

    public String getPrname() {
        return prname;
    }

    public void setPrname(String prname) {
        this.prname = prname == null ? null : prname.trim();
    }

    public Date getPrdate() {
        return prdate;
    }

    public void setPrdate(Date prdate) {
        this.prdate = prdate;
    }

    public String getPrspecification() {
        return prspecification;
    }

    public void setPrspecification(String prspecification) {
        this.prspecification = prspecification == null ? null : prspecification.trim();
    }

    public String getPrunit() {
        return prunit;
    }

    public void setPrunit(String prunit) {
        this.prunit = prunit == null ? null : prunit.trim();
    }

    public Integer getPrcount() {
        return prcount;
    }

    public void setPrcount(Integer prcount) {
        this.prcount = prcount;
    }

    public Double getPrprice() {
        return prprice;
    }

    public void setPrprice(Double prprice) {
        this.prprice = prprice;
    }

    public Double getPrsumprice() {
        return prsumprice;
    }

    public void setPrsumprice(Double prsumprice) {
        this.prsumprice = prsumprice;
    }

    public String getPrusage() {
        return prusage;
    }

    public void setPrusage(String prusage) {
        this.prusage = prusage == null ? null : prusage.trim();
    }

    public String getPrbatch() {
        return prbatch;
    }

    public void setPrbatch(String prbatch) {
        this.prbatch = prbatch == null ? null : prbatch.trim();
    }

    public Date getPrexpires() {
        return prexpires;
    }

    public void setPrexpires(Date prexpires) {
        this.prexpires = prexpires;
    }

    public String getPrinfo() {
        return prinfo;
    }

    public void setPrinfo(String prinfo) {
        this.prinfo = prinfo == null ? null : prinfo.trim();
    }
}